import random

from tkinter import *

tk = Tk()

canvas = Canvas(tk, height =500,width=500)
canvas.pack()


canvas.create_rectangle((50,100,100,50),fill="blue")
canvas.create_rectangle((100,150,150,100),fill="blue")
canvas.create_rectangle((50,100,150,150),fill="blue")
canvas.create_rectangle((100,150,150,200),
fill="blue")

 
